package com.ruoyi.gp.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】业务对象 department
 *
 * @author ruoyi
 * @date 2024-03-04
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DepartmentBo extends BaseEntity {

    /**
     * 科室号
     */
    @NotNull(message = "科室号不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 科室名
     */
    @NotBlank(message = "科室名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 科室地址
     */
    @NotBlank(message = "科室地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String address;

    /**
     * 科室电话
     */
    @NotNull(message = "科室电话不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long phone;

    /**
     * 科室主任
     */
    @NotBlank(message = "科室主任不能为空", groups = { AddGroup.class, EditGroup.class })
    private String departmentDirector;


}
